define(['./AnnotPlugin', '../../BaseToolHandler'], function(AnnotPlugin, BaseToolHandler) {
	'use strict';
	AnnotPlugin.factory('AnnotToolHandler', ['ToolHandlerManager', function (ToolHandlerManager) {

		

		function onLButtonDown (event, data) {
			console.log('AnnotToolHandler', event.type, data);
		}

		function onLButtonUp (event, data){
			console.log('AnnotToolHandler', event.type, data);
		}

		var annotToolHandler = new BaseToolHandler('annotTool');	

		annotToolHandler
		.on('lbuttondown.pdf', onLButtonDown)
		.on('lbuttonup.pdf', onLButtonUp);
		//.on('mousemove.pdf', onMouseMove);

		return annotToolHandler;
	}]);
});